<template>
  <div class="home">
    <popup ref="popup" :maskClick="false" popupTitle="模态框标题">
      <template>
        <div>
          内容区域
        </div>
      </template>
    </popup>
    <button @click="opnePopup">打开</button>
  </div>
</template>

<script>
import popup from '../components/popup.vue'
	export default {
    components: { popup },
		data() {
			return {
			}
		},
		created() {

    },
		methods: {
      opnePopup() {
        this.$refs.popup.open()
      }
		}
	}
</script>
